<?php
//D�mrrage de la session
session_start();

include ("./settings_shop.php");

if (empty($_SESSION['id_shop_connecte']) OR $_SESSION['id_shop_connecte'] != $shop) {//Si l'utilisateur n'est pas encore connect� on l'envoie vers la page de connexion
    header('location: ./connexion.php');
}
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" >
    <head>
        <title>Vanadium Boquette - <?php echo $shop; ?></title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <link rel="icon" href="../commun_shop/ressources/favicon.ico" type="image/x-icon" />
        <link rel="stylesheet" media="screen" type="text/css" title="Design" href="../commun_shop/design.css" />
        <link rel="stylesheet" media="screen" type="text/css" title="Design" href="../ressources/css/boite_info.css" />
        <link rel="stylesheet" media="screen" type="text/css" title="Design" href="../ressources/css/thickbox.css" />
        <script type="text/javascript" src="../ressources/javascript/jquery-1.3.2.min.js"></script>
        <script type='text/javascript' src='../ressources/javascript/thickbox-compressed.js'></script>
        <script type='text/javascript' src='../commun_shop/modules/historique.js'></script>
    </head>
    <body>
        <div>
            <?php
            include ("../commun_shop/modules/header.php");
            include ("../commun_shop/modules/body_historique.php");
            include ("../commun/footer.php");
            ?>
        </div>
    </body>
</html>
